package de.fhffm.gärtnerei.exceptions;

import javax.swing.JOptionPane;

@SuppressWarnings("serial")
public class InputException extends Exception {

	  
	private String exception;
	
	public InputException(String exception){
		
		JOptionPane.showMessageDialog(null,exception,"Fehler",JOptionPane.ERROR_MESSAGE);
	}

	public String getException() {
		return this.exception;
	}

}
